

HelloSocket_MAKEFILE := $(lastword $(MAKEFILE_LIST))
HelloSocket_DIR = $(dir $(HelloSocket_MAKEFILE))

DEFS += 
LIBS += 
VPATH += $(shell find $(HelloSocket_DIR) -type d)
C_SRCS += $(shell find $(HelloSocket_DIR) -name "*.c")  # 查找目录下的所有源文件
CXX_SRCS += $(shell find $(HelloSocket_DIR) -name "*.cpp")



# lib_dir:
# 	@echo "MAKEFILE_LIST: $(MAKEFILE_LIST)"
# 	@echo "HelloSocket_DIR: $(HelloSocket_DIR)"